home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C04 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.6 KB  |  65 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C04
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     CLibTest.exe \
  25.     CppLibTest.exe \
  26.     Sizeof.exe \
  27.     StackTest.exe \
  28.     Scoperes.exe 
  29.  
  30. test: all 
  31.     CLibTest.exe  
  32.     CppLibTest.exe  
  33.     Sizeof.exe  
  34.     StackTest.exe NestTest.cpp 
  35.     Scoperes.exe  
  36.  
  37. bugs: 
  38.     @echo No compiler bugs in this directory!
  39.  
  40. CLibTest.exe: CLibTest.obj CLib.obj 
  41.     $(CPP) $(OFLAG)CLibTest.exe CLibTest.obj CLib.obj 
  42.  
  43. CppLibTest.exe: CppLibTest.obj CppLib.obj 
  44.     $(CPP) $(OFLAG)CppLibTest.exe CppLibTest.obj CppLib.obj 
  45.  
  46. Sizeof.exe: Sizeof.obj 
  47.     $(CPP) $(OFLAG)Sizeof.exe Sizeof.obj 
  48.  
  49. StackTest.exe: StackTest.obj Nested.obj 
  50.     $(CPP) $(OFLAG)StackTest.exe StackTest.obj Nested.obj 
  51.  
  52. Scoperes.exe: Scoperes.obj 
  53.     $(CPP) $(OFLAG)Scoperes.exe Scoperes.obj 
  54.  
  55.  
  56. CLib.obj: CLib.cpp CLib.h 
  57. CLibTest.obj: CLibTest.cpp CLib.h 
  58. CppLib.obj: CppLib.cpp CppLib.h 
  59. CppLibTest.obj: CppLibTest.cpp CppLib.h ..\require.h 
  60. Sizeof.obj: Sizeof.cpp CLib.h CppLib.h 
  61. Nested.obj: Nested.cpp Stack.h ..\require.h 
  62. StackTest.obj: StackTest.cpp Stack.h ..\require.h 
  63. Scoperes.obj: Scoperes.cpp 
  64.  
  65.